<?php


namespace App\Http\Controllers;
use Illuminate\Database\QueryException;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Models\House;
class housedetail extends \Illuminate\Routing\Controller
{
    public function housedetail(Request $request,$id)
    {
        $House=new House();
        $list=$House->where('hid',$id)->get();
        return view('housedetail', ['list'=>$list]);
    }
    public function map()
    {
        return view('map');
    }
}
